import service from '@/utils/request'

export const getList = (data: any) => {
	return service.post('/api/standardProject/queryAuditList', data)
}

export const batchAudit = (data: any) => {
	return service.post('/api/standardProject/batchAudit', data)
}

export const addAuditOptions = (data: any) => {
	return service.post('/api/standardProject/saveOpinions', data)
}

export const getAuditOptions = (data: any) => {
	return service.post('/api/standardProject/queryOpinions', data)
}

export const batchAuditFiles = (data: any) => {
	return service.post('/api/standardProject/saveFiles', data)
}

export const returnProject = (data: any) => {
	return service.post('/api/workflow/doReturn', data)
}

export const exportProject = (data: any) => {
	return service.post('/api/standardProject/export', data)
}

export const revokeProject = (data: any) => {
	return service.post('/api/standardProject/revoke', data)
}

export const cancelProject = (data: any) => {
	return service.post('/api/standardProject/cancelPublish', data)
}

export const getStage = (data: any) => {
	return service.post('/api/standardProject/queryStage', data)
}

export const republishProject = (data: any) => {
	return service.post('/api/standardProject/doPublish', data)
}
